FROM golang:latest

ENV GOPROXY https://goproxy.cn,direct
WORKDIR $GOPATH/src/wzz/z-blog
COPY . $GOPATH/src/wzz/z-blog
RUN go build .

ENTRYPOINT ["./z-blog"]
